import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_world_cup/flutter_world_cup.dart';
import 'package:flutter_world_cup/flutter_world_cup_platform_interface.dart';
import 'package:flutter_world_cup/flutter_world_cup_method_channel.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';

class MockFlutterWorldCupPlatform
    with MockPlatformInterfaceMixin
    implements FlutterWorldCupPlatform {

  @override
  Future<String?> getPlatformVersion() => Future.value('42');
}

void main() {
  // final FlutterWorldCupPlatform initialPlatform = FlutterWorldCupPlatform.instance;
  //
  // test('$MethodChannelFlutterWorldCup is the default instance', () {
  //   expect(initialPlatform, isInstanceOf<MethodChannelFlutterWorldCup>());
  // });
  //
  // test('getPlatformVersion', () async {
  //   FlutterWorldCup flutterWorldCupPlugin = FlutterWorldCup();
  //   MockFlutterWorldCupPlatform fakePlatform = MockFlutterWorldCupPlatform();
  //   FlutterWorldCupPlatform.instance = fakePlatform;
  //
  //   expect(await flutterWorldCupPlugin.getPlatformVersion(), '42');
  // });
}
